import { NgModule } from '@angular/core';
import { RouterModule, Routes } from '@angular/router';
import { ChartsComponent } from './../charts/charts.component';
import { AntvChartComponent } from './../charts/antv-chart/antv-chart.component';

const routes: Routes = [
    { path: 'echarts', component: ChartsComponent },
    { path: 'antv', component: AntvChartComponent }
];

@NgModule({
    imports: [
        RouterModule.forChild(routes)
    ]
})

export class ChartsRouting { }
